package cn.zhangxin.pethome.system.employee.service;

import cn.zhangxin.pethome.base.query.BaseQuery;
import cn.zhangxin.pethome.base.service.IBaseService;
import cn.zhangxin.pethome.system.employee.domain.Employee;

import java.util.List;

public interface IEmployeeService extends IBaseService<Employee>{
    //查询多条数据
    List<Employee> findAll();
    @Override
    List<Employee> findByQuery(BaseQuery baseQuery);
    //根据logininfoId查询员工
    Employee findOneByLogininfoId(Long logininfoId);
    //根据员工id查询该员工的权限(访问路径 url)
    List<String> getPermissionSn(Long employeeid);
    //根据员工查询角色
    List<Long> findRoleByEmpId(Long id);
}
